#include "DataStructure/Input/Element/CRODData.h"

#include "DataStructure/Common/Validation.h"

using namespace SG::DataStructure;

/// @brief 判断两个CRODData是否相等
/// @param val1
/// @param val2
/// @return
bool SG::DataStructure::FEM::operator== (const CRODData& val1, const CRODData& val2)
{
    FIELD_COMPARE (m_id)
    FIELD_COMPARE (m_pId)
    FIELD_COMPARE_ARR (m_g, 2)
    FIELD_COMPARE (m_domainId)  // NOLINT(readability-simplify-boolean-expr)
    return true;
}